package com.example.education.Bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author 姚
 * @since 2023-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class StudentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uid", type = IdType.AUTO)
    private Integer uid;

    @JsonProperty("name")
    private String name;

    private String gender;

    private Integer age;

    private String phone;

    private String major;

    private String degree;

    /**
     * 个人评分 默认为0
     */
    private Integer grade = 0;

    private String targetMajor;

    private String targetUniversity;

    private String englishLevel;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private String passWord;

    //国外意向大学
    private String targetForeign;

    //平均分
    private double averageScore;

    //目前留学阶段
    private String stage;
    //毕业学校
    private String graduationSchool;
    //英语分数
    private double englishScore;
    //比赛获奖
//    private Map<String,String> receivedAwards;


}
